x86: mpparse and cstate need to use 32bit apic id
authorKeir Fraser <keir@xen.org>
Wed, 15 Dec 2010 11:52:14 +0000 (11:52 +0000)
committerKeir Fraser <keir@xen.org>
Wed, 15 Dec 2010 11:52:14 +0000 (11:52 +0000)
commit06e127fc275cd524a0f1dc8e2fa974de46619c10
tree5e977d91b0ef7c0c7262b56ead3e643db217a8fb
parentbc14e5d1e010afad8b8b93ec462088e1d271ce8e
x86: mpparse and cstate need to use 32bit apic id

Instead of going with mpc_config_processor struct.
that field ony have 8 bits.

We should not change that struct, because it is shared with mptable.

Also need to increase MAX_APICS.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Rather than using a fixed value of 512, make this scale with NR_CPUS
(which obviously still doesn't cover all theoretically possible
systems, but at least allows some build time control).

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/acpi/cpu_idle.c
xen/arch/x86/mpparse.c
xen/common/sched_sedf.c
xen/include/asm-x86/mach-generic/mach_apic.h
xen/include/asm-x86/mpspec_def.h
xen/include/xen/kernel.h